﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LogoManager.ascx.cs"  Inherits="Job.Web.userControls.Admin.LogoManager" %>

<script type="text/javascript">
    $(document).ready(function() {
    $.formValidator.initConfig({ formid: "form1", onerror: function(msg) { alert('校验没有通过，具体错误请看错误提示') } });
    $("#ctl01_txtOrderNo").formValidator({ onshow: " ", onfocus: " ", oncorrect: " " }).inputValidator({ min: 0, max: 99, type: "value", onerror: "<img alt='请输入序号(数字)' src='/Images/no_com.gif' width=15 height=15 />" }); //.defaultPassed();
    }
);
</script>

<table width="99%" border="0" cellpadding="0" cellspacing="0" class="table_font" align="left">
    <tbody>
        <tr align="left">
            <td class="table_font_td">&nbsp;</td>
            <td class="table_font_td">
                <asp:Image ID="Image1" Height="46px" Width="137px" runat="server" />
            </td>
        </tr>
        <tr align="left">
            <td class="table_font_td">选择文件：</td>
            <td class="table_font_td">            
                <asp:FileUpload ID="fileUpload" runat="server" Width="400px" /><asp:RegularExpressionValidator
                    ID="RegularExpressionValidator1" runat="server" ErrorMessage="只能上传jpg,jpeg,gif图片"
                    ValidationExpression="^.+\.(jp?g|gif|JP?G|GIF)$" ControlToValidate="fileUpload"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr align="left">
            <td class="table_font_td">公司网址：</td>
            <td class="table_font_td">
                <asp:TextBox ID="txtHomePage" runat="server" Width="400px" MaxLength="100"></asp:TextBox>
            </td>
        </tr>
        <tr align="left">
            <td class="table_font_td">描述信息：</td>
            <td class="table_font_td">
                <asp:TextBox ID="txtTitle" runat="server"  Width="400px" MaxLength="200"></asp:TextBox>
            </td>
        </tr>
        <tr align="left">
            <td class="table_font_td">序号：</td>
            <td class="table_font_td">
                <asp:TextBox ID="txtOrderNo" runat="server" Width="100px" MaxLength="3"></asp:TextBox>
                <span id="ctl01_txtOrderNoTip"></span>
            </td>
        </tr>
        <tr align="left">
            <td class="table_font_td">&nbsp;</td>
            <td class="table_font_td">
                <asp:Button ID="btnUpLoad" runat="server" OnClick="btnUpLoad_Click" Text="保　存" Width="115px"
                    CssClass="btn_2k3" />
            </td>
        </tr>
    </tbody>
</table>
<br />
